<h1>Listing temporal_discharges</h1>

<table>
  <tr>
    <th>Student</th>
    <th>Starts</th>
    <th>Ends</th>
    <th>Info</th>
  </tr>

<% @temporal_discharges.each do |temporal_discharge| %>
  <tr>
    <td><%=h temporal_discharge.student %></td>
    <td><%=h temporal_discharge.starts %></td>
    <td><%=h temporal_discharge.ends %></td>
    <td><%=h temporal_discharge.info %></td>
    <td><%= link_to 'Show', temporal_discharge %></td>
    <td><%= link_to 'Edit', edit_temporal_discharge_path(temporal_discharge) %></td>
    <td><%= link_to 'Destroy', temporal_discharge, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New temporal_discharge', new_temporal_discharge_path %>